package com.test.security.springsecuritydemo11.service;

import com.test.security.springsecuritydemo11.entity.Otp;
import com.test.security.springsecuritydemo11.entity.User;

/**
 * Created with IntelliJ IDEA.
 * Description:
 *
 * @author lzy
 * @since 2023/1/4 上午11:58
 */
public interface UserService {
    void addUser(User user);

    void authUser(User user);

    boolean check(Otp otpToValidate);
}
